package com.lagou.rocket.demo.order.service;

import com.lagou.rocket.demo.order.model.Inventory;
import com.lagou.rocket.demo.order.model.Order;
import org.springframework.data.jpa.repository.Lock;

import javax.persistence.LockModeType;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author KK
 * @since 2021-11-07
 */
public interface IInventoryService {
    Inventory getInventoryByProductCode(String productCode);


    Inventory save(Inventory order);



}
